Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added method to duplicate predicate #3432

Conversation

YaTut1901
Copy link
Contributor

@YaTut1901 YaTut1901 commented Nov 29, 2024

Release notes

In this release, we:

  • Added method fromInstance to the Predicate class

Summary

  • Added the method fromInstance to the Predicate class. This allows the consumer to create a new predicate instance with new configurable parameters and data.

Checklist

  • All changes are covered by tests (or not applicable)
  • All changes are documented (or not applicable)
  • I reviewed the entire PR myself (preferably, on GH UI)
  • I described all Breaking Changes (or there's none)

Copy link

vercel bot commented Nov 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fuels-template ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 2, 2025 1:00pm
ts-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 2, 2025 1:00pm
ts-docs-api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 2, 2025 1:00pm

Copy link

vercel bot commented Nov 29, 2024

@YaTut1901 is attempting to deploy a commit to the Fuel Labs Team on Vercel.

A member of the Team first needs to authorize it.

@YaTut1901
Copy link
Contributor Author

@Torres-ssf @danielbate @petertonysmith94 hello, could you please check this implementation and if that fits point me which docs it should be documented in?

Copy link

codspeed-hq bot commented Nov 29, 2024

CodSpeed Performance Report

Merging #3432 will degrade performances by 44.87%

Comparing YaTut1901:YaTut1901/chore/predicate-duplication-static (5f2e7a2) with master (41c72fb)

Summary

❌ 1 regressions
✅ 17 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark master YaTut1901:YaTut1901/chore/predicate-duplication-static Change
should successfully conduct a custom transfer between wallets (x20 times) 50.3 ms 91.2 ms -44.87%

@fuel-cla-bot
Copy link

fuel-cla-bot bot commented Dec 5, 2024

Thanks for the contribution! Before we can merge this, we need @YaTut1901 to sign the Fuel Labs Contributor License Agreement.

@Dhaiwat10
Copy link
Member

@YaTut1901 can you please fix the lint errors?

@Torres-ssf Torres-ssf added the feat Issue is a feature label Dec 11, 2024
.changeset/gentle-toes-play.md Outdated Show resolved Hide resolved
@YaTut1901 YaTut1901 changed the title chore: added static method to duplicate predicate feat: added method to duplicate predicate Dec 13, 2024
@YaTut1901
Copy link
Contributor Author

hello @Torres-ssf @danielbate , may this PR be merged?

@Torres-ssf
Copy link
Contributor

hello @Torres-ssf @danielbate , may this PR be merged?

@YaTut1901 Please make sure to request a re-review after finishing applying the requested changes

@YaTut1901
Copy link
Contributor Author

@danielbate @petertonysmith94 approve please

.changeset/gentle-toes-play.md Show resolved Hide resolved
@arboleya arboleya merged commit d5a696c into FuelLabs:master Jan 2, 2025
27 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla:signed feat Issue is a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable creating a new predicate from an existing one
7 participants